/* Enhanced Product Grid UI */
.shop-section {
	padding: 80px 0;
	background: #f8f9fa;
}

.product-grid {
	margin-top: 30px;
}

.single-product {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.single-product:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
	position: relative;
	width: 100%;
	min-height: 250px;
	overflow: hidden;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-product .img {

     display: flex; 
     align-items: center; 
    /* justify-content: center; */
    /* background: #fff; */
    /* padding: 25px; */
    /* min-height: 250px; */
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.single-product .img img {
	max-width: 100%;
	max-height: 280px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	transition: transform 0.3s ease;
	display: block;
}

.single-product:hover .img img {
	transform: scale(1.05);
}

.product-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(12, 89, 219, 0.9); */
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.single-product:hover .product-overlay {
	opacity: 1;
	pointer-events: auto;
}

.product-overlay .view-product {
	color: #0a4db8;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 24px;
	/* background: rgba(255, 255, 255, 0.2); */
	background:white;
	border-radius: 50px;
	border: 2px solid #fff;
	transition: all 0.3s ease;
}

.product-overlay .view-product:hover {
	background: #fff;
	color: #0c59db;
	transform: scale(1.05);
}

.product-overlay .view-product i {
	margin-right: 8px;
}

.single-product .content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.single-product .content .name {
	margin: 0 0 15px 0;
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
	min-height: 52px;
}

.single-product .content .name a {
	color: #222;
	text-decoration: none;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.single-product .content .name a:hover {
	color: #0c59db;
}

.product-action {
	margin-top: auto;
}

.single-product .content .mybtn1 {
	width: 100%;
	text-align: center;
	padding: 12px 20px;
	background: #0c59db;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
}

.single-product .content .mybtn1:hover {
	/* background: #0a4db8; */
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(12, 89, 219, 0.4);
}

.single-product .content .mybtn1 i {
	margin-left: 8px;
}

/* Product Filter Styling */
.product-filter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	margin-bottom: 20px;
	background: #fff;
	padding: 20px 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-filter .left p {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #222;
}

.product-filter .product-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-filter .product-search-form input {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 15px;
	width: 250px;
	transition: border-color 0.3s ease;
	height: 40px;
	box-sizing: border-box;
}

.product-filter .product-search-form input:focus {
	outline: none;
	border-color: #0c59db;
}

.product-filter .product-search-form button {
	background: #0c59db;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.3s ease;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.product-filter .product-search-form button i {
	line-height: 1;
}

.product-filter .product-search-form button:hover {
	background: #0a4db8;
}

/* Responsive Design */
@media (max-width: 991px) {
	.single-product .img {
		min-height: 220px;
		padding: 20px;
	}
	
	.single-product .img img {
		max-height: 240px;
	}
	
	.single-product .content .name {
		font-size: 16px;
		line-height: 24px;
		min-height: 48px;
	}
}

@media (max-width: 767px) {
	.shop-section {
		padding: 60px 0;
	}
	
	.product-filter {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}
	
	.product-filter .product-search-form {
		width: 100%;
	}
	
	.product-filter .product-search-form input {
		width: 100%;
		flex: 1;
	}
	
	.single-product .img {
		min-height: 200px;
		padding: 15px;
	}
	
	.single-product .img img {
		max-height: 220px;
	}
	
	.single-product .content {
		padding: 15px;
	}
}

@media (max-width: 575px) {
	.single-product .img {
		min-height: 180px;
		padding: 12px;
	}
	
	.single-product .img img {
		max-height: 200px;
	}
	
	.single-product .content .name {
		font-size: 15px;
		line-height: 22px;
		min-height: 44px;
	}
	
	.single-product .content .mybtn1 {
		padding: 10px 15px;
		font-size: 13px;
	}
}

/* Product Wrap Layout - Text Wrapping Around Image */
.product-details-section .product-wrap-wrapper {
	margin-bottom: 50px;
	clear: both;
}

.product-details-section .product-wrap-wrapper:last-child {
	margin-bottom: 0;
}

.product-details-section .product-image-wrap {
	float: left !important;
	width: 40% !important;
	max-width: 500px !important;
	margin-right: 30px !important;
	margin-bottom: 20px !important;
	clear: left;
}

.product-details-section .product-image-wrap img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.product-details-section .product-wrap-wrapper .product-info {
	overflow: visible !important;
}

.product-details-section .product-wrap-wrapper .right-area {
	overflow: visible !important;
}

.product-details-section .product-wrap-wrapper .product-title-area {
	margin-bottom: 15px;
}

.product-details-section .product-wrap-wrapper .short-info {
	overflow: visible !important;
	display: block !important;
}

.product-details-section .product-wrap-wrapper .short-info p {
	text-align: justify;
}

.product-details-section .product-wrap-wrapper::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 991px) {
	.product-details-section .product-image-wrap {
		width: 45% !important;
		margin-right: 25px !important;
	}
}

@media (max-width: 767px) {
	.product-details-section .product-image-wrap {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 20px !important;
	}
	
	.product-details-section .product-wrap-wrapper .product-info {
		clear: both;
	}
}

/*
about us page iframe css
*/
/* Default: Desktop */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}
.desktop-only-image{
	height: 400px !important;
	width: 400px !important;
}
/* Mobile view */
@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
	.mobile-only iframe {
		height: 370px;
        width: 370px;
	}
    .desktop-only {
        display: none;
    }
	.desktop-only-image{
		height: auto !important;
		width: 100% !important;
	}
}
